import Web3 from 'web3'
import {address1, ABI1} from '@/util/constants/myContracts'

let getContract1 = new Promise(function (resolve, reject) {
 let web3 = new Web3(window.web3.currentProvider)
 let myContract1 = web3.eth.contract(ABI1)
 let myContractInstance1 = myContract1.at(address1)
 //myContractInstance = () => casinoContractInstance
 resolve(myContractInstance1)
})

export default getContract1